package cn.getech.data.development.model.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 配置连接表
 * </p>
 *
 * @author hujz
 * @since 2019-09-24
 */
@Data
public class ConfConnectRespVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private Integer id;
    /**
     * 连接名称
     */
    @ApiModelProperty(value = "连接名称")
    private String name;
    /**
     * 连接类型
     */
    @ApiModelProperty(value = "连接类型: 1:mysql 2:oracle 3:sqlserver 4:postgresql 5:ftp 6:接口数据源 7：kafka数据源 8：其它")
    private Integer typeId;
    /**
     * 主机名
     */
    @ApiModelProperty(value = "主机名")
    private String host;
    /**
     * 端口
     */
    @ApiModelProperty(value = "端口")
    private String port;
    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称")
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String desc;

    /**
     * 连接类型
     */
    @ApiModelProperty(value = "连接类型")
    private String typeName;


    /**
     * kafka连接
     */
    @ApiModelProperty(value = "kafka连接")
    private String kafkaUrl;


    /**
     * kafka topic
     */
    @ApiModelProperty(value = "kafka topic")
    private String topic;
}
